package com.weather.service;

import com.weather.domain.ApiRespones;

import java.io.IOException;

/**
 * @author: htc
 * @date: Created in 15:27 2018/5/4.
 */
public interface WeatherService {
    ApiRespones getWeather(String cityName) throws IOException, ClassNotFoundException, InterruptedException;

    /**
     * 同步数据
     * @param cityName
     */
    void syncDataByCityName(String cityName) throws IOException, ClassNotFoundException;
}
